import { defineStore } from "pinia";
import { ref } from "vue";
//用户数据持久化管理
export const useUserStore = defineStore('user', () => {
  const userName = ref('')
  const userPassword = ref('')
  const rememberPsd = ref(false)
  return {
    userName,
    userPassword,
    rememberPsd
  }
},
  {
    persist: true,
  },
)
